package com.mszlu.news.admin.model.params;

import com.mszlu.news.admin.vo.CategoryVo;
import com.mszlu.news.admin.vo.TagVo;
import lombok.Data;

import java.util.List;

@Data
public class ArticleParam {
    private int page = 1;
    private int pageSize = 10;

    private Long id;

    private String title;

    private String summary;

    private Integer commentCounts;

    private Integer viewCounts;

    /**
     * 作者id
     */
    private Long authorId;
    /**
     * 内容id
     */
    private Long bodyId;
    /**
     *类别id
     */
    private Long categoryId;

    /**
     * 置顶
     */
    private Integer weight;


    /**
     * 创建时间
     */
    private Long createDate;

    /**
     * 首页预览图
     */
    private String preimg;

    private Integer goodCounts;

    private Integer collectCounts;

    private String content;

    private String account;

    private String categoryName;


    private List<TagVo> tags;

    private CategoryVo category;

    private ArticleBodyParam body;
}
